package com.ruoyi.system.service;

import com.github.pagehelper.PageInfo;
import com.ruoyi.system.domain.SysProduct;
import com.ruoyi.system.query.ProductQuery;

import javax.servlet.http.Part;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.List;

public interface IProductService {
    void deleteById(Long id);

    void insert(String record, Part part) throws IOException;

    SysProduct get(Long id);

    PageInfo selectAll(ProductQuery qo);
    List<SysProduct> select();


    void update(String product, Part part) throws FileNotFoundException, Exception;
}

